package com.sdy.approval.biz.mapper;

import java.util.Date;
import java.util.List;

import com.sdy.approval.biz.model.TpApproveFlow;
import com.sdy.approval.biz.param.AddApprovalsParam;
import com.sdy.mvc.mapper.BaseMapper;
import feign.Param;

/**
 * <p>
 * 审批记录 Mapper 接口
 * </p>
 *
 * @author cgj
 * @since 2019-08-09
 */
public interface TpApproveFlowMapper extends BaseMapper<TpApproveFlow> {

	Boolean saveMany(List<TpApproveFlow> list);
	
	Integer getMaxEdition(String applyId);

	Boolean addSubNodes(List<AddApprovalsParam> addApprovalsParams, Integer operType, Integer flowAvailable, Date createTime);
}
